package com.atguigu.classes.preconditions;

import java.util.Scanner;

/**
 * @program: myIDEA
 * @description: 键盘录入
 * @author: Mr.zjx
 * create: 2021-07-04-22-06
 **/
public class Test07 {
    public static void main(String[] args) {
        //创建一个类型对象
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入字符串：");
        //创建好对象调佣功能
        String next = scanner.next();
        System.out.println(next);
    }
}
